import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import liveVideoList from '@/components/liveVideo/liveVideoList';
import liveChatList from '@/components/liveChat/liveChatList';
import liveAnchorList from '@/components/liveBasic/liveAnchorList';
import liveIntranetIpList from '@/components/liveBasic/liveIntranetIpList';
import liveUserList from '@/components/liveBasic/liveUserList';
import liveCategoryList from '@/components/liveBasic/liveCategoryList';

import createLiveVideo from '@/components/liveVideo/createLiveVideo';
import liveVideoDetail from '@/components/liveVideo/liveVideoDetail';
import  liveSystemLog from '@/components/liveSystem/liveSystemLog';
import  liveSystemCache from '@/components/liveSystem/liveSystemCache';
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', name: 'index', component: index },
    { path: '/liveVideoList', name: 'liveVideoList', component: liveVideoList },
    { path: '/liveChatList', name: 'liveChatList', component: liveChatList },
    { path: '/liveAnchorList', name: 'liveAnchorList', component: liveAnchorList },
    { path: '/liveCategoryList', name: 'liveCategoryList', component: liveCategoryList },
    { path: '/liveIntranetIpList', name: 'liveIntranetIpList', component: liveIntranetIpList },
    { path: '/liveUserList', name: 'liveUserList', component: liveUserList },

    { path: '/createLiveVideo', name: 'createLiveVideo', component: createLiveVideo },
    { path: '/liveVideoDetail', name: 'liveVideoDetail', component: liveVideoDetail },
    { path: '/liveSystemLog', name: 'liveSystemLog', component: liveSystemLog },
    { path: '/liveSystemCache', name: 'liveSystemCache', component: liveSystemCache },

  ]
})
